package api

import (
	"github.com/gin-gonic/gin"
	"schools/api-getaway/api/handler"
)

func Router(r *gin.Engine) {
	r.POST("/login", handler.Login)
	r.POST("/school/add", handler.SchoolAdd)
	r.POST("/upload", handler.Upload)
	r.GET("/school/list", handler.SchoolList)
	r.POST("/sendSms", handler.SendSms)
	r.GET("/user/list", handler.UserList)
}
